/*
 * @Author: liyin 2179253556@qq.com
 * @Date: 2023-03-07 16:16:18
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2025-04-15 16:52:29
 * @FilePath: main.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import { createPinia } from 'pinia'
import PiniaPluginPersistedstate from 'pinia-plugin-persistedstate'
// import './libs/rem.ts'
import './assets/font/iconfont.css'
import './assets/css/global.scss'
import '@/assets/css/font.css'
import 'amfe-flexible/index.js'
// 引入list组件
// import List from './components/Common/RecordList.vue'
import seamlessScroll from './directives/seamlessScroll'
// 引入图片裁剪插件
import 'vue-cropper/dist/index.css'
import { VueCropper } from 'vue-cropper'
const pinia = createPinia()
pinia.use(PiniaPluginPersistedstate)
const app = createApp(App)
// 将组建注册到vue对象中
app.directive('seamlessScroll', seamlessScroll)
app.use(router)
app.use(pinia)
// app.use(VueCropper)
app.mount('#app')
